package Demo2;

public class Triangle extends Shape {
    public void getShape(){
        System.out.println("this is a triangle");
    }
}
